package com.infocollect.project.grant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 签到场次对象 gr_scene
 * 
 * @author infocollect
 * @date 2022-05-14
 */
public class GrScene extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目 */
//    @Excel(name = "项目")
    private Long grantId;

    /** 项目 */
    @Excel(name = "项目名称")
    private String grantName;

    /** 考点 */
//    @Excel(name = "考点")
    private Long exampointId;

    /** 项目 */
    @Excel(name = "考点名称")
    private String epName;

    /** 场景名称 */
    @Excel(name = "场景名称")
    private String sceneName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sceneStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sceneEndTime;

    /** 报道截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报道截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signEndTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 访问的域名配置，生成二维码的时候用到 */
    private String enrollHost;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGrantId(Long grantId) 
    {
        this.grantId = grantId;
    }

    public Long getGrantId() 
    {
        return grantId;
    }

    public String getEpName()
    {
        return epName;
    }
    public void setEpName(String epName)
    {
        this.epName = epName;
    }

    public void setExampointId(Long exampointId) 
    {
        this.exampointId = exampointId;
    }

    public Long getExampointId() 
    {
        return exampointId;
    }

    public String getGrantName()
    {
        return grantName;
    }
    public void setGrantName(String grantName)
    {
        this.grantName = grantName;
    }

    public void setSceneName(String sceneName) 
    {
        this.sceneName = sceneName;
    }

    public String getSceneName() 
    {
        return sceneName;
    }
    public void setSceneStartTime(Date sceneStartTime) 
    {
        this.sceneStartTime = sceneStartTime;
    }

    public Date getSceneStartTime() 
    {
        return sceneStartTime;
    }
    public void setSceneEndTime(Date sceneEndTime) 
    {
        this.sceneEndTime = sceneEndTime;
    }

    public Date getSceneEndTime() 
    {
        return sceneEndTime;
    }
    public void setSignEndTime(Date signEndTime) 
    {
        this.signEndTime = signEndTime;
    }

    public Date getSignEndTime() 
    {
        return signEndTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    public String getEnrollHost() {
        return enrollHost;
    }

    public void setEnrollHost(String enrollHost) {
        this.enrollHost = enrollHost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("grantId", getGrantId())
            .append("exampointId", getExampointId())
            .append("sceneName", getSceneName())
            .append("sceneStartTime", getSceneStartTime())
            .append("sceneEndTime", getSceneEndTime())
            .append("signEndTime", getSignEndTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
